package com.piece.module.spider.concurrent;

import com.piece.module.spider.support.SpiderNode;
import java.util.Comparator;

public interface ThreadSubmitStrategy {

    Comparator<SpiderNode> comparator();

    void add(SpiderFutureTask<?> task);

    boolean isEmpty();

    SpiderFutureTask<?> get();
}
